
package io.renren.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 用户注册
 *
 * @author zenger380@163.com
 * @since 3.1.0 2018-09-25
 */
@ApiModel(value = "注册表单")
public class RegisterForm {
    @ApiModelProperty(value="手机号",name="mobile",required=true)
    @NotBlank(message="手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "密码",name="password",required=true)
    @NotBlank(message="密码不能为空")
    private String password;


    @ApiModelProperty(value = "行政区划",name="adminCode",required=true)
    @NotBlank(message="行政区划不能为空")
    private String adminCode;

    @ApiModelProperty(value = "用户名",name="username",required=true)
    @NotBlank(message="用户名不能为空")
    private String username;

    @ApiModelProperty(value = "性别",name="male")
    private String male;

    @ApiModelProperty(value = "姓名",name="extraName",required=true)
    @NotBlank(message="姓名不能为空")
    private String extraName;

    @ApiModelProperty(value = "身份证号",name="id",required=true)
    @NotBlank(message="身份证号不能为空")
    private String id;


    @ApiModelProperty(value = " 身份证正面图片地址",name="idImageA")
    private String idImageA;

    @ApiModelProperty(value = " 身份证背面图片地址",name="idImageB")
    private String idImageB;

    @ApiModelProperty(value = "微信号",name="wechatId",required=true)
    @NotBlank(message="微信号不能为空")
    private String wechatId;

    @ApiModelProperty(value = "开户行",name="bank",required=true)
    @NotBlank(message="开户行不能为空")
    private String bank;


    @ApiModelProperty(value = "银行卡号",name="cardNum",required=true)
    @NotBlank(message="开户行不能为空")
    private String cardNum;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAdminCode() {
        return adminCode;
    }

    public void setAdminCode(String adminCode) {
        this.adminCode = adminCode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getExtraName() {
        return extraName;
    }

    public void setExtraName(String extraName) {
        this.extraName = extraName;
    }

    public String getMale() {
        return male;
    }

    public void setMale(String male) {
        this.male = male;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdImageA() {
        return idImageA;
    }

    public void setIdImageA(String idImageA) {
        this.idImageA = idImageA;
    }

    public String getIdImageB() {
        return idImageB;
    }

    public void setIdImageB(String idImageB) {
        this.idImageB = idImageB;
    }

    public String getWechatId() {
        return wechatId;
    }

    public void setWechatId(String wechatId) {
        this.wechatId = wechatId;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }
}
